$bool = Fs.IsFile
("<filename>")
Checks the existence of a particular file.
Parameters
<filename> The file to be checked.
Return Value
Returns 1 if the file exists, else returns 0.
Remarks
- If full path of the file is specified then it checks for the file in that location.
- If only the filename is specified then the plugin searches for it in the folder of the currently running script.
Example
$file = "C:\Plugins\IsFile.htm"
$ret = fs.IsFile ($file)